<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class MonitoringRecord extends Model
{
    protected $fillable = ['website_id', 'status_code', 'http_code', 'total_time', 'namelookup_time', 'connect_time', 'pretransfer_time', 'starttransfer_time', 'redirect_time'];

    public function website()
    {
        return $this->belongsTo(Website::class);
    }
}
